package com.unknowpupil.web;

import lombok.EqualsAndHashCode;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.web.bind.annotation.CrossOrigin;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
import tk.mybatis.spring.annotation.MapperScan;

/**
 * @Classname: Application
 * @Author: <a> w10g </a>
 * @CreateDate: Create in 2019/10/8 12:31
 * @Description: exclude 排除配置
 *               @SpringBootApplication(exclude = {DataSourceAutoConfiguration.class})
 * @Version: 1.0
 */
@CrossOrigin
@SpringBootApplication
@MapperScan("com.unknowpupil.web.mapper")
@EnableSwagger2
@EnableAsync
public class MxApplication {
    public static void main(String[] args) {
        SpringApplication.run(MxApplication.class,args);
    }
}
